package com.iraeta.service.iraorder;

import com.alibaba.fastjson.JSONArray;
import com.iraeta.entity.Iraorderscstepproduct;
import com.iraeta.entity.vo.IraOrderProductStep;

import java.util.List;

public interface IraProductStepService {
    public void addIraorderscstepproduct(Iraorderscstepproduct iraorderscstepproduct);
    public void updateIraorderscstepproduct(Iraorderscstepproduct iraorderscstepproduct);
    public void deleteIraorderscstepproduct(Integer id);
    public Iraorderscstepproduct getIraorderscstepproduct(Integer id);

    /*查询所有产品， 同事产品的所有步骤和步骤中的数量*/
    public List<IraOrderProductStep> listIraOrderProductStep(Integer orderId);
    public void saveIraOrderProductStep(JSONArray stepCountJSONArray);
}
